package com.xi.springboot.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: xjs
 * @Date: 2022/11/24/8:37
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UrlVo {
    private String username;
    private String separate;
    private String originUrl;
    private String shortUrlId;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date lastVisit;
    private Integer visits;
}
